﻿using System.Windows.Controls;
using AzureDiagMon.Common.Helpers;
using AzureDiagMon.Common.Mvvm.Helpers;
using GalaSoft.MvvmLight;

namespace AzureDiagMon.Views.EntityEditors
{
    /// <summary>
    /// Interaction logic for StorageAccountEditor.xaml
    /// </summary>
    public partial class StorageAccountEditor : UserControl
    {
        public StorageAccountEditor()
        {
            InitializeComponent();
            if (ViewModelBase.IsInDesignModeStatic)
            {
                DataContext = ViewModelHelper.GetViewModel(GetType().Name);
            }
        }
    }
}
